Câu ví dụ
- thêm câu ví dụ: 1 2
- So what does this have to do with board composition?
Vậy nó có liên quan gì đến function composition ở đây? - Notice the lambda and how it looks like the result function composition.
Lưu ý kí hiệu lambda và cách mà nó đóng vai trò kết quả của hàm hợp. - Just, where . is function composition.
quan nào?thành phần, chức năng của - Sure, can use lambdas for that, but many times, function composition is clearer and more concise.
DĨ nhiên bạn có thể dùng lambda, nhưng nhiều khi, dùng hàm hợp thì rõ ràng hơn và gọn hơn. - Notice how for lists, mempty is just the id function and mappend is actually just function composition.
Lưu ý rằng đối với danh sách, mempty đơn giản là hàm id còn mappend thực ra chính là phép hàm hợp.